<!DOCTYPE html>
<html class="x-admin-sm">
    <head>
        <meta charset="UTF-8">
        <title></title>
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />

        <link rel="stylesheet" href="/css/xadmin.css">
        <link rel="stylesheet" href="/youmeida/lib/layui/layui-v2.6.8 copy/layui/css/layui.css">
        <link rel="stylesheet" href="/youmeida/pages/cate/cate.css">

        
        <!--[if lt IE 9]>
          <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
          <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
    </head>
    <body>
        <div class="x-nav">
          <span class="layui-breadcrumb">
            <a href="">首页</a>
            <a href="">演示</a>
            <a>
              <cite>导航元素</cite></a>
          </span>
          <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" onclick="location.reload()" title="刷新">
            <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
        </div>
        <div class="layui-fluid">
            <div class="layui-row layui-col-space15">
              <div class="layui-card">
                <div class="layui-card-body">
                  <form class="layui-form" action="">
                    <div class="top">
                    <div class="layui-form-item">
                      <label class="layui-form-label">标题</label>
                      <div class="layui-input-inline">
                        <input type="text" name="title" required  lay-verify="required" placeholder="请输入标题" autocomplete="off" class="layui-input">
                      </div>
                    </div>
                    <div class="layui-form-item">
                      <label class="layui-form-label">分类</label>
                      <div class="layui-input-inline">
                        <select name="city" lay-verify="required" id="select_cate">
                          <option value=""></option>
                        </select>
                      </div>
                    </div>
                    <div class="layui-form-item">
                      <div class="layui-block">
                        <label class="layui-form-label">时间</label>
                        <div class="layui-inline" id="times">
                          <div class="layui-input-inline">
                            <input type="text" id="startDate" class="layui-input time" placeholder="开始日期">
                          </div>
                          <div class="layui-form-mid">至</div>
                          <div class="layui-input-inline">
                            <input type="text" id="endDate" class="layui-input time" placeholder="结束日期">
                          </div>
                        </div>
                      </div>
                    </div>
                    <div class="layui-form-item">
                      <div class="layui-input-inline">
                        <button class="layui-btn" lay-submit lay-filter="formDemo">搜索</button>
                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                      </div>
                    </div>
                  </div>
                  <div class="layui-form-item btn"> 
                    <div class="new_btn">
                      <button class="layui-btn layui-btn-primary layui-border-blue add" lay-submit lay-filter="formDemo"
                        id="add_btn">
                        <i class="layui-icon layui-icon-add-1"></i>
                        新增</button>
                      <button type="reset" class="layui-btn layui-btn-primary export" onclick="exportExcel()">
                        <i class="layui-icon layui-icon-upload-drag"></i>
                        导出
                      </button>
                    </div>
                    <div class="res_btn">
                      <button type="button" class="layui-btn layui-btn-sm layui-btn-primary" id="hide">
                        <i class="layui-icon layui-icon-up layui-font-12"></i>
                        <i class="layui-icon layui-icon-down layui-font-12" style="display:none"></i>
                      </button>
      
                      <button type="button" class="layui-btn layui-btn-sm layui-btn-primary" id="refresh">
                        <i class="layui-icon layui-icon-refresh"></i>
                      </button>
                      <button type="button" class="layui-btn layui-btn-sm layui-btn-primary" id="more">
                        <i class="layui-icon layui-icon-app"></i>
                      </button>
                    </div>
                  </div>
                  <table class="layui-table"lay-size="sm">
                    <colgroup>
                      <col width="150">
                      <col width="200">
                      <col width="200">
                      <col width="200">
                      <col width="300">
                      <col width="200">
                      <col width="100">
                      <col width="100">
                      <col width="200">
                      <col>
                    </colgroup>
                    <thead>
                      <tr>
                        <th>ID</th>
                        <th>标题</th>
                        <th>分类名</th>
                        <th>图片</th>
                        <th>创建时间</th>
                        <th>是否推荐</th>
                        <th>是否置顶</th>
                        <th>文章状态</th>
                        <th>操作</th>
                      </tr>
                    </thead>
                    <tbody id="tb">
                    </tbody>
                  </table>
                  <div id="pages"></div>
                  </form>
                </div>
              </div>
            </div>
        </div> 
    </body>


<script src="/youmeida/lib/axios.min.js"></script>
<script src="/youmeida/lib/layui/layui-v2.6.8 copy/layui/layui.js"></script>
<script src="/youmeida/js/jquery.min.js"></script>
<script type="text/javascript" src="/js/xadmin.js"></script>
<script src="/youmeida/pages/cate/cate.js"></script>


</html>